package com.jishulianmeng.entity;

import java.util.Date;

/**
 * Photos entity. @author monologu
 */

public class Photos implements java.io.Serializable {

	// Fields

	private long photosId;
	private User user;
	private Classify classify;
	private String photosName;
	private String photosTheme;
	private String photosImgUrl;
	private Date photosCreateDate;
	private short photosDeleted;

	// Constructors

	/** default constructor */
	public Photos() {
	}

	/** minimal constructor */
	public Photos(User user, Classify classify) {
		this.user = user;
		this.classify = classify;
	}

	/** full constructor */
	public Photos(User user, Classify classify, String photosName,
			String photosTheme, String photosImgUrl, Date photosCreateDate,
			short photosDeleted) {
		this.user = user;
		this.classify = classify;
		this.photosName = photosName;
		this.photosTheme = photosTheme;
		this.photosImgUrl = photosImgUrl;
		this.photosCreateDate = photosCreateDate;
		this.photosDeleted = photosDeleted;
	}

	// Property accessors

	public long getPhotosId() {
		return this.photosId;
	}

	public void setPhotosId(long photosId) {
		this.photosId = photosId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Classify getClassify() {
		return this.classify;
	}

	public void setClassify(Classify classify) {
		this.classify = classify;
	}

	public String getPhotosName() {
		return this.photosName;
	}

	public void setPhotosName(String photosName) {
		this.photosName = photosName;
	}

	public String getPhotosTheme() {
		return this.photosTheme;
	}

	public void setPhotosTheme(String photosTheme) {
		this.photosTheme = photosTheme;
	}

	public String getPhotosImgUrl() {
		return this.photosImgUrl;
	}

	public void setPhotosImgUrl(String photosImgUrl) {
		this.photosImgUrl = photosImgUrl;
	}

	public Date getPhotosCreateDate() {
		return this.photosCreateDate;
	}

	public void setPhotosCreateDate(Date photosCreateDate) {
		this.photosCreateDate = photosCreateDate;
	}

	public short getPhotosDeleted() {
		return this.photosDeleted;
	}

	public void setPhotosDeleted(short photosDeleted) {
		this.photosDeleted = photosDeleted;
	}

}